package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.ConsoleChannelConfig;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface ConsoleChannelConfigMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ConsoleChannelConfig record);

    int insertSelective(ConsoleChannelConfig record);

    ConsoleChannelConfig selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ConsoleChannelConfig record);

    int updateByPrimaryKey(ConsoleChannelConfig record);

    List<ConsoleChannelConfig> getChannelOptions(@Param(value = "secondName") String secondName);
}